package com.axdoc.wallet.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.axdoc.wallet.dao.IMqRecordsDao;
import com.axdoc.wallet.entity.MqRecords;
import com.axdoc.wallet.exceptions.WalletBizException;
import com.axdoc.wallet.service.MqRecordsService;

/**
 * 消息基础服务
 */

@Service("mqRecordsService")
public class MqRecordsServiceImpl implements MqRecordsService {
	
	@Autowired
	private IMqRecordsDao mqRecordsDao;
	
	@Override
	public int saveMqRecord(MqRecords mqr) throws WalletBizException, Exception {
		return mqRecordsDao.saveMqRecords(mqr);
	}
}
